<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout :: head(~{ :: title}, ~{ :: link}, ~{ ::script},~{::style})">
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title>商户管理平台-用户申请审批</title>
    <link rel="stylesheet" th:href="@{/plugins/jquery-confirm/jquery-confirm.min.css}"/>
    <!--<link rel="stylesheet" th:href="@{/plugins/zTree_v3-master/css/demo.css}">-->
    <link rel="stylesheet" th:href="@{/plugins/zTree_v3-master/css/zTreeStyle/zTreeStyle.css}">
    <script th:src="@{/plugins/jquery-confirm/jquery-confirm.min.js}"></script>
    <!--<script type="text/javascript" th:src="../../../js/jquery-1.4.4.min.js"></script>-->
    <script th:src="@{/plugins/zTree_v3-master/js/jquery.ztree.core.js}"></script>
    <script th:src="@{/plugins/zTree_v3-master/js/jquery.ztree.excheck.js}"></script>
    <style></style>
</head>
<body th:replace="layout::body(~{this::section})">
<section class="content-wrapper">
    <section class="content-header">
        <h1>
            用户申请审批
            <small>列表</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="/"><i class="fa fa-dashboard"></i>商户管理平台</a></li>
            <li class="active">用户申请审核</li>
        </ol>
    </section>
    <section class="content">
        <div th:if="${respMsg != ''}" class="alert alert-danger alert-dismissible">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <h4><i class="icon fa fa-ban"></i> 操作提示</h4>
            <label th:text="${respMsg}"/>
        </div>
        <div class="row">
            <!--<div th:each="opts:${session.WEBOPTS}">-->
                <!--<div class="col-md-1" th:if="${opts.href == '/MpsRole/Save'}">-->
                    <!--<a th:href="@{/MpsRole/goMpsRoleAdd}" class="btn btn-block btn-primary">新增</a>-->
                <!--</div>-->
                <!--&lt;!&ndash;<div class="col-md-1">&ndash;&gt;-->
                <!--&lt;!&ndash;<a href="#" class="btn btn-block btn-primary">修改</a>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--&lt;!&ndash;<div class="col-md-1">&ndash;&gt;-->
                <!--&lt;!&ndash;<a href="#" class="btn btn-block btn-primary">删除</a>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--</div>-->
        </div>
        <div class="row">
            <table class="table table-bordered table-hover">
                <thead>
                <tr>
                    <th style="text-align: center"><input type="checkbox"/></th>
                    <th style="text-align: center">用户名称</th>
                    <th style="text-align: center">用户申请机构</th>
                    <th style="text-align: center">用户申请信息</th>
                    <th style="text-align: center">操作</th>
                </tr>
                </thead>
                <tbody>
                <!--/*@thymesVar id="AppArticleList" type="java.util.List"*/-->
                <tr th:each="item:${chkList}" style="text-align: center">
                    <td><input type="checkbox" th:value="${item.id}"/></td>
                    <td th:text="${item.name}"></td>
                    <td>
                        <span th:each="org:${item.org}">
                            <span th:text="${org}"></span>
                            <span> </span>
                        </span>
                    </td>
                    <td th:text="${item.descr}"></td>
                    <td>
                        <span >
                            <span>
                                <a th:href="@{/MpsOrg/Repulse(id=${item.id})}"
                                   onclick="return confirm('确定拒绝?');">拒绝</a>
                            </span>
                            <span>
                                <a th:href="@{/MpsOrg/AcceptCheck(id=${item.id})}">同意
                                </a>
                            </span>
                        </span>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </section>
</section>
</body>
</html>